<?php
namespace app\admin\controller;
use \think\Session;
use \think\Controller;


class User
{
   public function loginPortal()
   {
   if(Session::get('userId')<>0)
   {
    $this->redirect('Index/index');
   }else
   {
   return view();
   }
   }
   public function login()
   {
   $pName = input('pName',null,'string');
   $pPwd = input('pPwd',null,'string');

   }
}
